/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const systemRouter = {
  path: '/system',
  component: Layout,
  redirect: '/system/profile',
  name: 'Profile',
  meta: { title: '系统管理', icon: 'link' },
  children: [
    {
      path: 'profile',
      component: () => import('@/views/profile'),
      name: 'profile',
      meta: { title: '个人信息', icon: 'people' }
    },
    {
      path: 'resetpwd',
      component: () => import('@/views/stub'),
      name: 'resetpwd',
      meta: { title: '密码重置', icon: 'eye' }
    }
  ]
}
export default systemRouter
